<script setup>
  import TodoInfo from './TodoInfo.vue';
  const attrs = useAttrs();
  const tabsList = [
    {
      label: '我发起的审批'
    },
    {
      label: '已办事项'
    },
    {
      label: '待办事项'
    }
  ];
</script>

<template>
  <NstdDialog title="我的任务" v-bind="attrs" width="1200" top="10vh">
    <NstdTabs type="border-card">
      <NstdTabPane :label="item.label" v-for="item in tabsList" :key="item.label">
        <TodoInfo />
      </NstdTabPane>
    </NstdTabs>
  </NstdDialog>
</template>

<style scoped lang="scss"></style>
